import * as type from '../action-type.js'
let initState = {
    name: null,
    password: null
}

export default function (state = initState, action) {
    switch (action.type) {
        case type.SET_LOGIN:
            return {jin: 'hong hong'}
        default:
            return initState
    }
}
